package com.mvc.mapper;

import com.mvc.entity.OrderItem;
import com.mvc.entity.OrderSnapshot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName OrderSnapshotMapper
 * @Description TODO
 * @Author Gla
 * @Date 2021/12/2 10:45
 * @Version 1.0
 **/
public interface OrderSnapshotMapper {
    /**
     * @MethodName listSearch
     * @Description TODO 
     * @Param startRow
     * @Param limit
     * @Param orderId 
     * @Return java.util.List<com.mvc.entity.OrderSnapshot>
     * @Author Gla
     * @Date 2021/12/2 11:20
     **/
    List<OrderSnapshot> listSearch(@Param(value = "startRow") Integer startRow, @Param(value = "limit") Integer limit,
                                   @Param(value = "orderId") Integer orderId);

    /**
     * @MethodName getCount
     * @Description TODO 
 * @Param orderId
     * @Return java.lang.Integer
     * @Author Gla
     * @Date 2021/12/2 11:22
     **/
    Integer getCount(@Param(value = "orderId") Integer orderId);
}
